<template>
  <div>
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'App',
  data () {
    return {
    }
  },
  created () {
    const that = this
    const globalEvent = weex.requireModule('globalEvent')
    globalEvent.addEventListener('androidback', function (e) {
      that.$router.go(-1)
    })
  }
}
</script>
